package com.springboot.dao;

import com.springboot.entity.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MemberDao {
    List<Member> findAll();

    void add(Member member);

    int updateById(Member member);

    Member findById(@Param("id") Integer id);
}
